moved dipole calculation to method on InducedDipole