fixed indexing for bases/equality for elements
implemented elements as tuples and began work on states
fixed kron for states