Changed to function

This can now be called as a function. Furthermore, you can now specify
the frame-to-trace spacing as part of the groundwork to optimize motion
detection across the video.
Added section for microblock call