Created by: inailuig
Adds an mpi-aware logsumexp.
Will be useful for e.g. computing the statistics of importance sampling.