Calculate gradient of a line joining two points (#376)

Calculate gradient of a line joining two points (#376)

Use m=y2−y1x2−x1m = \dfrac{y_2-y_1}{x_2-x_1}.