Added smearing toggle to config files
moved some stuff in xsecscaling to a utility function because it should be generalized