JQ: Finished first draft of ODB check (#3).

Pedestal and trigger calculations seems to work.
Output to file seems to work.
Timing still has to be checked.