fix error in intrinsic mean and median
remove trimmed mean, will add back when works