This affects the map (treated often separated) and the particles (treated in one vector)
all occurrences should be changed to double2, this makes the usage consistent and shortens function calls.
In addition, it shows how positions are unwillingly linked together.
While we are at it, maybe it would be even better to already hint to a 3D implementation. While this may be really longterm, preparing a change early one is beneficial.