Fixed comments and implementation of genCondB