Refectoring
Added by-row iterator for matrices
Added by-column iterator
Added conversion of vectors to 1D arrays
Added new constructor for arrays