Better fetching of transformation matrices for mod_trell