For mosaicing, add an option to solve for grid spacing automatically (helper functions already in place).
For mosaicing, add an option to solve for grid spacing automatically (helper functions already in place).