Implemented percentiles, statistics should now have all basic functionality