Minimising vibration in a flexible golf club during robotic simulations of a golf swing