Approach to model based motion scoring for lameness detection in dairy cattle