Define Gradient Maths Graph Solver For Linear