#include missing <cassert> in matrix.H
Check that we aren't looking up parameter -1.