Rename totem functions for assertTensor* to areTensors*, add assert functions which actually throw a lua error.
Fixing white space. (2-space indentation, not 4).