dipole moment calculation script for a chemical molecule stored in a .mol2 file