Add transformation that represents a rotational DOF around a given arbitrary axis