updated to calculate multipole moments for each property, and write them
to the output file