1D matrix representations, switching to GSL.