computeCost and gradientDescent done