add boolean to keep track of spinor_mpi_buffer
add some error guards to correlator memory allocation