Set compute3Dcentroid last component to 1