Add FrequencyMap class.

Frequency table is now computed using the given reference frequency.