math.statistics: Add trimean.
math.statistics: Handle some edge cases.
Remove two unused parameters.