fixed camera to properly use perspective
fixed some matrix transformation issues