change the type of initializer constant of the variable cycle to double
update gg.cpp
update comments of gg.cpp
fix the bug of calculation of normal matrix