Fix an error.
Add find median.