Began working on "true" data sampling

Created a routine for collecting and storing data until sampling
interval