Ntupler and associated code from GP (and Nick K before that)