updated docs, added labeldelta, and numerous bug fixes for TensorStates and TensorBases