moved torsion error checking back to dynamix.cpp