Added new ranked filter and median filter.
Added documentation.