Added wrapEncode encoding constructor
Renamed wrapEncoding to wrap, added optional
Added mandatory encoding construction
Added nonzero construction