accelerometer filter now works and can successfully plot also; just need to apply the threshold count last