Dropplet simulation cpp, random number algorithm application