move HPDInterval here. Create a median(values,indices) version (same as for other statistics in this file)
move HPDInterval here. Create a median(values,indices) version (same as for other statistics in this file)

benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc