mfreq_analysis: Use charset module

Use the charset module instead of computing for a static charset. It's
quite a structure change but it's mandatory for the next step: splitting
the frequency computation out of the multi-frequency analysis.

Signed-off-by: Celelibi <celelibi@gmail.com>