eigenvalues_byname function

Calculate eigenvalues of a matrix