New functions for computing pedestal, sigma raw and sigma on an array of o_trb_event(s)