Visual Motion Analysis by a Neural Network