moving allocated memory to struct;
TODO:
* move particle pos, velocity, to struct, all the is accessed now vie reference; this will be done to avoid false memory sharing
* create accumulation variables (eg densityi)