forked from: Shortest rotation to angle - speed test

