Fixed binary to decimal conversion

Updated to most current version, fixing issues with binary to decimal
conversion.