Updated DipoleAnalysis with mean volume in calculations of \eps_r and cleaned up in general.