Vector valued function derivative example