added unpackMatrix