This method must be implemented and should do lightweight preprocessing of raw CMMotionActivity, as returned from CMMotionActivityManager, and pack them into CoreMotionActivity instances. The returned array is expected to contain all activities in order, oldest to newest.
func preprocess(activities: [CMMotionActivity]) -> [CoreMotionActivity]
The activities to preprocess
Preprocessed and packaged motion activities