title: How efficiently to convert one dimensional array to two dimensional array in swift3
body: <p>What is the efficient way to convert an array of pixelValues <code>[UInt8]</code> into two dimensional array of pixelValues rows - <code>[[UInt8]]</code> </p>