Improved interpolation algorithm for phonons