Now common noise is computed using median instead of mean