added eGarch function