Optimisation of PV array geometry