An eddy-current model and algorithm for three-dimensional nondestructive evaluation of advanced composites