Matrix example updated