Fixed minor sleep bug
Max speed measurement