fun.xts abstract util func and add mean.xts