to_decimal function

Convert a Vector of Bits to a Decimal Number