Separating s1 into library project in preparation for unit testing.    Pulling out normal matrix calculation from shader since requiring version 100 of GLSL for webgl compat.