Add 5-dimension matrix