Fix #5804 so eigs works on matrices with dimension less than 6