completed MPI adaptation of correlator, use correct amount of memory for correlator allreduce_buffer, cosmetic changes in a few places