Rand fix master

fixes Random.rand(1.0) and cleans up old backwards compatibility methods somewhat.