Fix bug related to floating point arithmetic in for uniform distributions.
Fix bug related to floating point arithmetic in for uniform distributions.

TU-Berlin-DIMA/myriad-toolkit,codeaudit/myriad-toolkit,codeaudit/myriad-toolkit,TU-Berlin-DIMA/myriad-toolkit,codeaudit/myriad-toolkit,codeaudit/myriad-toolkit,TU-Berlin-DIMA/myriad-toolkit