Function: gradient[0](numbers("per") if gradient[2](minus(numbers("per"), numbers("xyx"))) > minus(numbers("per"), numbers("xyx")) else invert(gradient[2](minus(numbers("per"), numbers("xyx")))) if invert(gradient[2](minus(numbers("per"), numbers("xyx")))) > minus(numbers("per"), numbers("xyx")) else gradient[2](minus(numbers("per"), numbers("xyx"))))