Started revising getfreq structure
Finished revising getfreq structure
Merge pull request #1 from b-zijlstra/develop

Revised getfreq structure