Collision avoidance using a model of the locust LGMD neuron