bug fix in average location code + motor speeds etc