Adding matrix debug + modified test triangle