Orthogonal rational functions on the unit circle: from the scalar to the matrix case