Finished general tensor multiplication function ttt.
Cleaned up redundant functions.
Added shape parameter to each class.