fixed threaded tsyr2k & tammm_G bugs