Line type, slope and intersect function - inital commit