working on parallel sgd