getCases and getControls are not virtual and the function must be templated
Fix templating of computeThreshold
Remove non-templated declaration, make declaration of makeUniqueInPlace available, use std::vector instead of vector
Need to use a copy here - reference might be broken later
Cleanup R
CleanUp C++
Cleanup
Store resampledControls/Cases
Avoids multiple computation, and allow iterators to work properly