Fixed small bug in cohomology class.