add matlab/octave files that compute the mamdani matrx &al

* updated gen_cleaned.pl to yield the same results as matlab
  (apparently I was wrong when I computed it the first time around)