Changed GetPedestal to only use bins before the first hit. Added LogNormal fitting function for channels