This reverts commit 485544d4. MEAN and MEDIAN are again non-generic, and DISPLACE-ARRAY is removed. Motivation on the mailing list.