change 'intrinsic' to geometric, fix geom. median