Fix for phase unwrap