Include L-BFGS & common cuda utils