adds function to take two points and generate parallel points