Fixed incorrect capitalisation of Set.add method.

See https://github.com/mbostock/d3/wiki/Arrays#wiki-set_add
Updated the d3.layouts.stack definitions.

Reference: https://github.com/mbostock/d3/wiki/Stack-Layout#wiki-stack