vecpack should handle gradients, not just cost functions.
vecpack should handle gradients, not just cost functions.