Adds support for odd patch shapes in function extract_local_patches_fast
Adds simple tests for different patch shapes
Merge pull request #384 from jalabort/odd_shape_patches

Adds support for odd patch shapes in function extract_local_patches_fast