added a binning algorithm that categorizes us into 'jerking' and 'not jerking'