Added a print to see the scale factor between images
Added object type to astronomical_object
Include function memoize (from vterron).