Analysis of animal movements