Lots of indexing bugs. Fixed crashes.
Depth test is wrong, but bin rasterizer is rendering correctly now.