Changed to float cosine
Removed need for Z histogram.
Changed to lower resolution histogram.
TODO: Optimize by computing high-res histogram and downsampling.
Expanded normal filer radius.
Added ability to pause visualization.