Added nearest neighbors entropy calculation and added option to not specify minimums and maximums in histogram approach