add uv2speed() and uv2dir()