Tweaking gradient calc process