Fixed error in cross section calculation