Bugfix: negative eigenvalues caused LinAlgError