Corrected 3D-HW3 errors

Corrected matrix problems in scaling and rotation.