compiled Matrix