Movement and dwell analysis