Modified first problem in eigenvalues lab.