editing calc_phase (phase velocity ignored)