Theoretical Study and Design of a six Degrees of Freedom Measuring Device for Biomechanical Applications