Make traceplot and mh_autocorrelation save graphs; add legend
Fixed bug in name2index

Previously, the strings were concatenated, rendering calls to strmatch
wrong. Changed to cell arrays on which strmatch operates.