Fixed up some shader stuff. Began to seperate local/global transforms.