Update movement_agent.js

bug fix of calculating steps relatively to speed