Optimisation of the stamp forming process for thermoplastic composites