Calculate position update