get sequence points from a node
get center point from a matrix
new grouping method
test