fixed bug with negative phase shifts for Karplus-Strong