Gravar-mail: Design of a six-DOF motion tracking system based on a Stewart platform and ball-and-socket joints