added csc_matrix option to datasource2matrix(). much faster than
dok_matrix