Function: gradient[0](numbers("xxr")) if logn(gradient[0](numbers("xxr")) if numbers("xxr") > numbers('rrr') else numbers("per")) if gradient[0](numbers("xxr")) > numbers("xxr") else numbers('rrr') if numbers("per") > gradient[0](numbers("xxr")) else numbers("xxr") > numbers("per") if numbers('rrr') > gradient[0](numbers("xxr")) else numbers("xxr") else logn(numbers('rrr') if gradient[0](numbers("xxr")) > numbers("per") else numbers("xxr"))