candidate fix for get_motion_params() bug

- Change integration style.
- Update tests to accomodate integration style change.
- doc revision for get_motion_params()
Merge pull request #2545 from zanzibar7/get_motion_params_bugfix

candidate fix to get_motion_params() for issue #2543

close #2543