add encodeMatrix(arr:Array<Array<BitmapData>>):ByteArray

Method converts a multidimensional array of images to PNG