Removing some horrible inefficiencies from the equal frequency discretizer.