Added the smooth gradient generator