Improving material characterization in sensor-based sorting by utilizing motion information