Calculate the error on dipole result.