Working simulator. Added parameter change in printToFile.
Parameter printToFile done.
Gaussian distribution to be checked.