refactored reduction of wave speeds, include computation of vertical wave speeds