Add linear batch gradient descent algorithms