Orthogonal modal reconstruction of a wave front from phase difference measurements