Added sqrt on denominator of cost function. Great results now.