Implemented MPI online learning