Program to calculate Slope from a set of coordinates.