Patch median filter

Median Filter added. GenerateCLP used, macro SEMMacro.
In case of a radius of 0 or less, I would exit and give an error message with std::cerr to be more clear that it is not the expect behavior.