comment fixes and better num grad checking