I have some functions and data structures using glm for vector and matrix math.
Now I want to compute gradient\'s with respect to the input variables. Since the compu