More strict matrix type
Remove inadvertent double render
Avoid getting map twice
Factor out color matrix generation, move color matrix into layer renderer
Merge pull request #93 from twpayne/webgl-renderer-cleanups

WebGL renderer cleanups