Fixed some bugs in the BucketToBufferGadget where the wrong trajectory would be selected. Fixed a bug in the AcquisitionAccumulateTriggerGadget where the repetition was not set