http://www.kiffingish.com/images/cost-function-J.png