Set the translation components of the matrix.

def set_trans(self, trans_vec):
        """Set the translation components of the matrix."""

        # Column major,  translation components in column 3.
        self.data[3][0] = trans_vec[0]
        self.data[3][1] = trans_vec[1]
        self.data[3][2] = trans_vec[2]