Added bounds checking for the json exercise data
Added encoding calculations to give values that can be passed to the processing sketch. Also check data/activities_full.json
for a full json data dump.