Tessellated distributed computing of non-linearly separable functions