movement_metrics function

Movement metrics