Code cleanup of gradient