do you mean: `self._transformation_matrix[i][j] = rotation_matrix[i][j]`?

You can avoid the loops with clever indexing:
`self._transformation_matrix[0:3, 0:3] = rotation_matrix`