Build a stack of layers.
Build a stack of layers. layer(0) is an input layer, layer(n-1) is a GLM layer. Intermediate layers are FC alternating with Rect, starting and ending with FC. First FC layer width is given as an argument, then it tapers off by taper.