Fix/Update CAEN 1190 TDC decoder

Based on code by Simona Malace, heavily modified/updated by Brad Sawatzky.