matrixdim(x,x) isn't called with a boolean anymore