new file to command position and read torques massmatrix and gravityvector