started working on computeCost