Tested and fixed a bunch of matrix stuff in Megacorps map.