add plot target to makefile and fix error in computation of NUMMEAS
allow specification of INP1/OPT1, INP2/OPT2 and switchstart timepoint