Analysis of Residual Stresses in Thermoplastic Composites Manufactured by Automated Fiber Placement