Added a camera and set view matrix

+ Some errors corrected
+ Other modifications