PhasesGap function

Gap or Hiatus between two successive phases (for phases in temporal order constraint)