Matrix formulation of the reconstruction of phase values from phase differences | Synapse