BGD instead of SGD