Robot Localization -- Estimation of Complex Anatomical Joint Motions Using a Spatial