Adding matrix view