r.median??

Great, I'll get r.median and try it as soon as possible.
- Katarina