Design and modelling of a reconfigurable parallel kinematic machine with customisable leg layout for enhanced performance