mathutils.Matrix's position returns an empty vector instead of the actual position
As batFINGER said, the problem was that blender uses the matrices via rows instead columns, so i had to do the following to get the stuff right:

Doing this would fix it:

tfm.transpose()