Begin gradient descent implementation

- fmin_cg is reaching local minima