evaluation function
Merge branch 'master' of github.com:arturosaco/Event_rec