Matrix improvements for Scenery 0.2 work