Text this: Rayleigh quotient algorithm for modal analysis of structural models