Change the cast of Transform3f to be read more easily from Python