Exported the line function from lineplot
Used an updated method of generating a mesh of points along a line