motion detection by phase correlation.
Changes to yuvhsync for graphing