connecting hand cog to ee masses for inverse dynamics controller