Carrier extraction of Matlab simulation with in-phase orthogonal loop