Cleaned up geometry shader, started work on per-pixel shading