Added calculation of 2nd derivative of planned infrastructure