Huge rewrite: Phonon part broken.