symbolic calculation for helical phase