Update MedianFilter.java

Bugfix