Change calculate speed to v*(1-def)