Also change Dot signature to accept Vector parameters.
Package diff is a package for computing derivatives of functions for the Go language.