fix misspell of "dimension"
fix test_U.cpp: random matrix should be Hermitian