Added a mpi median filter