Implementation of an application that calculates nonlinear gradients