[cmake] add sparse.hh to header list in cmake
[backend/simple] fix copy constructor of sparse matrix
[backend/simple] fix N(), e.g. number of rows
[backend/simple] factor out inner product of sparse matrix row & vector