fixed derivatives, added 'smart' predator

‘smart’ predator is always directed toward prey, also added a stopping
condition whenever predator and prey are within some specified distance