Re #10498 PhaseQuad algorithm updated
Re #10498 PhaseQuad fixing X shift
Re #10498 Reducing scope of variable sig
Re #10498 fixing reorder warnings
Re #10498 Fixing comoparison signed unsigned warning
Re #10498 Adding note in documentation
Re #10498 fixing conflicts