Switched matrix initialization
Got printing pairs working
Merge branch 'table'
Removed print statements