added new functions for loading SPECFEM models