aggregate_for_orientation function

Aggregate over epoch to get estimated accelerometer orientation.