Find Gradient From Coordinates (m = Integer)