Fixing artifacts on triangle edges.
Made a hack that modifies the pixel input coordinates before interpolating instead of drawing edge lines separately.
Refactoring some of the shader class and fixing a const problem in the math library.