Put in "IF MTTNx>0 THEN" to prevent probs when Nx=0
 -- still a couple of apparent error messages - but answers now
correct