Steepest Descent Method Python Code