Updated elbow point calculation