absolute velocity calculation probably almost correct now...