Added more argument to subroutine in modcudalbfgs