Computational morphogenesis in Architecture: the cost optimization of free form grid shells