added more gradient documentation.