matty minor updates to local_smooth, fuzzy and nddist