Update generic.hpp to include 'approx' functions previously in selectivity.hpp