Fix typo and change error to exception in SymTridagonal