added error handling for import of trispline so module can be imported without having trispline compiled