Added Almeida's stepsize algorithm, which btw is very sensitive to parameters, so if it constantly crashes keep trying (or don't because there are better alternatives).