Corrected unaccounted for offset in wrap/unwrap.

parameter inOff is not taken into account in either wrap or unwrap.