arrangement of particles in states of matter