Naive attempt to provide gradient in cartesian coordinates.