Minimization of Welding Distortion and Buckling: Modelling And Implementation