added method to print eigenvalue/vector