Statistics for Activity recognition invariant to sensor orientation with wearable motion sensors