Implemented GSVI and change of some variable names.