Optimising Array Form for Energy Extraction and Environmental Benefit