Read inserted block scale

The python script seems to work for backing out the scaling factor, what if you wanted to find the rotation. How would you go about finding out those values?