Added code to increase numerical stability when computing generators for Vnm*