Batch Gradient Descent Algorithm Machine