Additions to the particle and vector classes