Transform the velocity in a rotating barycentric frame.

Fix #304.
confusing, it doesn't return, it sets `*matrix` to it.
Also, document: `|matrix| and |angular_frequency| should not be null, no transfer of ownership.`