Allow pref matrixinputs to be collapsed and add pref.smooth
Allow selection of treatment of zero in traffic_ctf plot