g.applymetrics function

Extract metrics from acceleration signals