UFID RC1.3

Fixed bug in Tg, added datalogging