Using logarithm for find closest to, sould work, havent fully tested yet. Also modDist now gaurentees positive, correct results
Merge branch 'master' of https://github.com/AlejandroFrias/DSHW5