better haddock documentation; everything is based off of the Params kind; type fractions; began nearest neighbor example