removed length-type template parameter from Sphere and Particle