SBAdd centroid bug
(#395)
Merge branch 'master' into #382