Gradient Descent Program In Python