Introducing a modified gradient vector method for optimization of accident prediction non-linear functions