Python script to detect phospholipids flip-flops between two frames