pseudo_linear: minor improvements
linear_set: move simplifiers to sparse_vec.h