Restored steepest ascent, with some modifications
Restored steepest ascent, with some improvements