Matrix extension