AmpPhaseDecomp function

Decomposition for Amplitude and Phase Variation