Add code to average dipole values over all copies of an RPMD system.