add an unboxed matrix variant