Changes based on codereview

http://codereview.stackexchange.com/questions/57343/transforming-a-byte-array-into-an-array-of-byte-arrays-with-f