Changed Math.random to JSAV.utils.rand.random in some  exercises.