Fix functions._getPercentile by ignoring None values
Merge pull request #351 from fasterize/fix_getPercentile

Fix `functions._getPercentile` by ignoring None values