fix the time reconstruction with weights

Bug fix for the weight-based time reconstruction algorithm. This algorithm is not used in standard RECO, but studies are ongoing for its possible use at HLT level