Fixed face normals.
Separated matrix classes.
Fixed polygon clipping for software renderer.