Quadcopter stabilization algorithm

PeterH:
The way I'd approach this is similar to the algorithm used for NTP

Is that Marzullo's algorithm you're talking about?