V1.02

Bug fix in cvg.cpp