when i wrote the mdl7 blender exporter i couldn't get bone animations to work either. the matrix stuff almost drove me insane.

but then after a pause of some weeks i tried it from the other side. i wrote a simple opengl mdl7 viewer (in python) and after some trial and error i got the bone animations to work. then i knew how the matrices had to be contructed.