update to look up device_model instead of group_id
added function prototypes for sample_mean and sample_std_dev
changed the script to prepare training set for working with device_id instead of group_id
removed the old script