transformation mat is read from file