Finished up first end-to-end implementation of the detection routine.  Added some visualization functions.