separated CsrMatrix in to cpu-specific and cpu-agnostic parts
bugfixes so previous commit works
move NumBytes and SparsityFactor methods into parent matrix classes