Median now works correctly. Oops.