Fix problem where answer checker for 1 x n matrix reports incorrect dimension with ans_array
Merge pull request #26 from dpvc/matrix-fix

Fix problem where answer checker for 1 x n matrix reports incorrect dimension