mpi_receive_vector function improvement.