FMDB: Added error handling for geometric models
      Updated GMI api calls