updated nef_core get function to throw a StructuralException when node or origin etc not found, for consistency with getNode function, updated learning terminations accordingly