Calculated the Koszul complex.