Working reverse Dynamics. Bug Fixes.