Added weighted median function and tests

I had test cases with zero weights.  But, I added the warn() to alert the user that negative/zero weights are being ignored, which made the output feel spammy.  What I can do is add a keyword argument that shuts off the warnings, and use that for tests.