Fix vec2vec

This fixes a small bug in the calculation of rotation matrices. 

The fix in the sims module follows, because test failures upon applying this fix indicated that this calculation was front-to-back. I think everything's alright now