velocity.setType(vector);
particleVars.addAll(Arrays.asList(position, velocity));
particle.setVariables(particleVars);
// array of particles
ArrayVariable particles = new ArrayVariable();
particles.setName("particle");
particles.setType(particle);
particles.setSize(100);
List<String> varPaths = new ArrayList<String>();
VariablePathSerializer.GetFullVariablePath(particles, "", varPaths);
for(int i=0; i< varPaths.size(); i++)