Streamlining.  Fixed bug in Gauss Kernel Smoothing code.  Prepared for
stop detection algorithm.