Title: Secondary phaseleg computation