Fixed silly typos and added setMatrix call - oops