typo in xysum calculations