vector based stencil converters.
commented code for a possible (good) update on toByteArray conversions
for the future.