Shape Control and Residual Stresses Management in Carbon Fiber Reinforced Thermoplastic Structures Manufactured Using Automated Fiber Placement