refactor gain functions to remove boolean parameters
refactor gain functions to remove boolean parameters

- no need to call 'ugrp' if we apply g[1] to y
- drop use of MDL for now
- rename functions so we use ig for information gain and gr for gain ratio
- improve comments

psaris/funq,psaris/funq