update median to return Double/NaN when provided an empty list
Merge pull request #263 from chausler/master

Update median to return Double/NaN when provided an empty list