Removed duplicate entity code and fixed cooperative PSO which wasnt bein...

...g initialised correctly.