Added quat2dcm() with docstrings.