Clean-up anharmonic code