I have come across a bug in the contributed function transMat() in the mstate package. I am working with a four state problem: