Made the trigger threshold configurable and added the gamma detection algorithm.