Sx renderer fixes2

Fixed thread safety bug in SXRenderer::shade(), and implemented some transformation matrix functionality, including coordinateSystem()