Numerical and semi-analytical modelling of the process induced distortions in pultrusion