Find The Gradient Of The Function