create model routine

wrapper to call TOV and store grid information ready for testing.