Computer automated movement detection for the analysis of behavior