Fixed another divide by zero error.  readded smoothing distance hack.  Hardcoded smoothing distance to 15