Changed implementation of nn to use priority queue to give speedup
Added the normaldistributionestimator, and made great speedup in some estimators