detect_nonwear_clipping function

Detect non-wear and clipping time in the raw accelerometer data