Matrix stack