adding a simple script to obtain yields form datacards

...plus a small set of fixes and modifications in several places.