Clean up tensor product computations
Catch invalid Smolyak levels