Forward kinematics in polynomial form of the general Stewart platform