error fixing and abstraction

- fix some errors in AddPdf
- add preEvaluateComponents to GooPdf
- AddPdf now passing componentWiseEvalTest for
  analysed examples (fits still broken)