Changed models from classes to structures. Partially completed logic of collision detection between particles