Fix slice overflow.
Merge commit 'dd933'
Create random float.