Fix SQL so it actually does what we want
Add a stockdistribution example, using maturity_stage.
Keep man pages up to date please
Rewrite all sample functions to mfdb_sample_*, add in "cols" parameter