added pad_image stuff to RealGalaxy, and made it recalculate maxK and stepK
(#238)