steepest descent convergence now works correctly