Fixed small warning in get_models.c and added various comments about what the routines in this file are for