made program to find negative eigenvalue/s and eigenvector - currently giving multiple negative eigenvalues