MODIFIED: Manifold API
ADDED: Proper implementation of the Particle class