matrix is now templated with N=int (usually 3)

Further tweaking

(0) -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 tip

mercurial