refined mpi multiplication and started on loss function
ISTAgrad and ISTA_loss_func now working with MPI