Convert time Petri net file .tpn to Matlab matrices