Implemented Gaussian weighted distance calculator.
app.py uses Gaussian weighted distance.  Cleaned up output.