JQ

-Cleaned up TPI::GetPedestal function
-TPI::GetPeakSample not simply uses std::max/min_element based on trigger polarity
-Changed constructor and destructor

This is related to issue #92 though the issue itself was solved already