Made 3 input arguments optional: when not specified they default to optB='l10', optKf='pf', optK1K2='l'