* replaced ASSERT by REQUIRE in several places
* removed redundant assertions on get_num_vectors(): get_sparse_feature_vector(num) already checks it
* replaced SGVector<T> dense() by dense to fix compiler errors.
Merge pull request #1384 from tklein23/sparse_fixes

replaced ASSERT by REQUIRE; fixed SGVector<T> dense() compiler error