Fixed random float API and documentation.