Changed the DrawingFunctions java file to produce more favorable lines when drawn.