adding median.q
adding trimmed mean query