eigenvalues function

calculate eigenvalues of a correlation matrix with optional scree plot