fix sum errors when single sample
rename rbmpyx to rbmpygivenx
add sampling option to rbmdowny
cosmetic
add tests
add sampling function
bug fixes
use randsample to init pod chains for semisup learn