Document the classes

There's apparently never enough documentation.
Remove static from calculateFrequencies
Add method code calculating the average fixed and average code lengths in Node