Updated SPI code.
Allow MPI version to send message to self.