N variable reduced bias

Added bias reduction for N variable case; moved histEntropy helper function to histEntropy.hh