Add support for motility measurement from AVIs, including automatic or grid-based well detection

Add support for motility measurement from AVIs, including automatic or grid-based well detection