Implemented environment so that the model/view/projection matrix can be set.