added Macros to compute syst values
bug fix