Speed up python calls to SparseMatrix.setRowFromDense
Merge with master
Fix build issue
Merge pull request #1585 from chetan51/issue-1584

Speed up python calls to SparseMatrix.setRowFromDense