Rewrite of ESP code for Neuro Evolution