Function: sum(numbers("xxr") if numbers("xxr") if numbers('ryy') if numbers("xxr") > numbers("per") else numbers('xyy') > numbers('xyy') else numbers('ryy') > gradient[2](numbers('ryy') if numbers("xxr") > numbers('xyy') else numbers('ryy') if numbers("per") > numbers("xxr") else numbers('xyy')) else numbers("per") if numbers('xyy') > numbers("xxr") else numbers('ryy'), gradient[2](numbers('xyy') if numbers('ryy') > numbers('xyy') if numbers("xxr") > numbers("per") else numbers('ryy') else numbers("xxr")))