Debug mode now checks for negative prime levels.
Renamed SVDWorker::diagonalize to diagHermitian. Changed some vector [] calls to use .at() for memory safety.