Improved gradient creator