Subsampling now built into feature extraction.

- Done with the help of ndfeature.
- Still plenty of commented out code and temporary stuff that will be phased out
  eventually.