distances to action and vice versa seems fixed, except for restricted prey movements. However, in distance_to_action, if not found it returns a random action, this might still be going wrong