Geometric analysis and constrained optimization of woven z-pinned composites for maximization of elastic properties