Added Weight Estimates and supporting functions. Also wrapped weights into analysis_hagerman.