update ma::makePyramidCentroid for shape function