added graphs of two weighting functions
Minor tweaks, added graphs for two weight functions