Floating Point Math Python Random Function