Size-dependent melting: Numerical calculations of the phonon spectrum