added matrix transformation and rotation so that camera can be moved in the scene