Adds Data Sampling (resolves #41)