Fix logic in number of columns in row vector creation
Fix logic in number of columns in row vector creation

Affected corner cases identified in tests

cphang99/matrix_playground,cphang99/matrix_playground,cphang99/matrix_playground