Daniel Shiffmans flocking algorith in P3D