cleaned up api for conversion to bagged point and moved tests to it's own test suite
added support for fractional subsampling with replacement