Use eigh instead of eig for symmetric matrix
Fix spelling mistake