corrected an error in ttMatrix through which NA was included as a level