Improving math random