Simulated Morphogenesis Using Ghost Layer Optimization For Additive Manufacturing