Replicated distribution type to duplicates MPI communicator before using it.
Changed MPI_DOUBLE to MPI_DOUBLE_PRECISION.
Added super naive domain distribution type.