estimate pb1, pb2 from data; return acceptance rates; some error checking
Merge branch 'polyfunctionality' of https://github.com/RGLab/MIMOSA into polyfunctionality

Conflicts:
	R/COMPASS-discrete.R