'Generate a Variance Gamma distributed random variable with parameters C,G and M Public Function VG(ByVal C As Double, ByVal G As Double, ByVal M As Double) As Double VG = Gamma(C, M) - Gamma(C, G) End Function