Added changes made to properly use transformation matracies for assignment 3.