Ported to unix. Noticed input.3 didnt work. Updated windows version to fix this. There was a problem with the line point solve function and with input being fed into rightX on left line line solve section. That is fixed. Need to port to unix