calculate speed of conveyor belt