Fixed viewing Transform

Bugs and errors fixed now fully functional