Determination of stress intensity factors for cracks in complex stress fields.