Fixed all trityper issues. Current trityper test are succesfull, altough...

... more tests would be nice. Fixed bug in comparator.