Added steepest decent stuff