so(3) implementation.