try using uint8 for sparse matrix
Merge remote-tracking branch 'origin/master'