Added export of gradient result