lint & reduce gradient check stepsize to pass checks