A Unified Approach to Analysing Cell Motility