Neural Network for Automatic Analysis of Motility Data