Created method get eigenvalues and contributing rate.