Redo the phase generation; we now start at the output end instead of at the inputs...