Adapted create_empty_model to enable direct model generation form geogrid object (works like a breeze!)