Sep, Ali and Cog methods optimization

All three methods are in the same function, which means that the boids
vector is analysed once (instead of three times)