Fixed issue where randomFloat() returned values greater than 1.0

`arc4random()` returns a `u_int_32`, thus to get a value between 0 and 1 it needs to be divided by UINT32_MAX