A new kinematic model for the closure equations of the generalized Stewart platform mechanism