Fixed typo in finding cohomology class.