Calculation of wavefunctions and frequencies for noninfinitesimal vibrations