change terms of element and info_type, use info_type for subclass for other cases in xraylib and remove optional for incident energy