Refactor setting up of d3.layout.stack() into a contour-utils stackLayout function
Fixed bug when more that two stacks are in the series