random matrix has values between 0 and 1