Constructing Approximations to Bivariate Piecewise-Smooth Functions | Synapse