Converts rotation/rotoinversion matrix <-> (nrot,vecg,li)
<-> (nrot,vecg,li)
Converts rotation/rotoinversion matrix