Implementation of Ken Shoemake's arcball transform with a few additions.