bugfix to OHToUInt

   - OHToUInt was broken, and only worked for inputs that were a power of 2 width.  To fix this, we pad out the input to make it a power of 2.