Functional and Jacobian evaluation were fixed and tested, and now work correctly. Added .cu and res/ files for testing purposes