Used to calculate the dipole moment between two cube files