Fit from tree, templates for histograms.

First try but values are wierd so need to use blind.