cleaning up thyra implementation and switch default rng to mt19937_64 from mt19937