Improved Fundamental Algorithms for Fast Computer Graphics