Add GPL Licence
Remove the need for the derivative function.