added singleparticlediffusion, simulation object implemented.