added comments to the various parts of the Median Filter