Added maximum triangle support to mesh generation.  Will relax maxDecimationError to achieve desired maximum.