Rename smoothedXi to getXiPeak and finish implementation