Finding the angle of inclination for a certain gradient, and using that angle to find other angles on the cartesian plane