Implemented barycentric coords, and the line clipping algorithms, issues with edge cases for line clipping.