matrixEnergy and covariances made frac-aware

some functions in EcalClusterTools are not aware of fractions , that are needed by PF.
Here we made the most useful ones frac-aware