clean up CV2SG and test
rename type vars to inType and outType
clean up dense features factory