Fixed a bug in rand_amplify()
Merge pull request #48 from myui/hotfixes

Fixed a bug in rand_amplify()