Closed-form direct displacement analysis of a 6-6 Stewart platform