init imple
typo
change to batch gradient descent