Embedded and surface flaws in unidirectional composites