Added a make_cutout function to imfuncs.py