Add function for symmetric tridiagonalization and Hessenberg factorization.