grad.*: Adicao da funcao geral do metodo

Signed-off-by: Kevin Katzer <kk11@inf.ufpr.br>
Merge branch 'master' of https://github.com/kk11/ci164-gradient