add function to rebuild an image from its patches, and add parameter to extract_patches to decide whether the result should be randomized.
add function to rebuild an image from its patches, and add parameter to extract_patches to decide whether the result should be randomized.

g402chi/SpatialPooler