Separate measurements parsing / sampling for reuse
Add example of running directly in R
Merge pull request #24 from gertvv/develop

Make measurements sampling reusable