Added unit tests and fixed the bugs. Got a simple perspective working and now I have a good flat render of a cube thing! Yay!