Added :as => :hash/:array option to Probability.frequency and Frequencies#distribution