Grade and gorenstein dimension