Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537.
This resolves #535.
Check in a generated smootherstep table as smoothstep.h rather than generating it at configure time, since not all systems (e.g. Windows) have dc.