moved precomputation function from hpp-corbaserver to hpp-motion-prior