got rid of PVector
added dirac to segment solving
constrained endpoints to the screen