Fix downsampling bug
Fix memory debug flag issue
Merge branch 'find_center' of github.com:FilipeMaia/libspimage into find_center