revise convergence condition 
if the norm between old parameters and upated parameters is less than
1e-4, the cost function will converge. (in gradientDescent function)


Signed-off-by: mengwenliu <mengwenliu09@gmail.com>