work on GetLinkAccelerations openravepy function