I am running a N-dimensional optimization and apparently all the methods I\'ve tried so far failed, due to different step sizes needed for each state variable in forward differe