Added calculation of population tuning curves