Fixed several incorrect uses of Math.random(). Updated nebula random positioning.