Changed the variance and speed assignment so that they cannot be assigned a value lower than 0 and higher than 1.
Changed some spacing, which i think was wrong.