making rosenbrock test type independent (easy to extend externally to cuda tests)
Merge pull request #20 from soumith/master

making rosenbrock test type independent (easy to extend externally to cu...