add some get and set methods and a method named get_nonzero_num()(for libsvm's sparse storage),
add some get and set methods and a method named get_nonzero_num()(for libsvm's sparse storage)