Update biased coin weight range
cleaner syntax in tobinary.py