finished (and commented) information theory stuff in Node and Attribute