Function: gradient[2](10 *(mean(minus(numbers("xyx"), numbers('rep')), numbers("xyx")) if numbers("xyx") if minus(numbers("xyx"), numbers('rep')) > mean(minus(numbers("xyx"), numbers('rep')), numbers("xyx")) else numbers('rep') > numbers("xyx") else minus(numbers("xyx"), numbers('rep'))))