Update movement_agent.js

bug fix of calculating steps relatively to speed
Merge branch 'dev' into gh-pages