Verbose, checknan keyword args to weighted median; input size check; empty data check