Wrap eval_double in Python

And add tests.
Merge pull request #329 from certik/eval_double

Wrap eval_double in Python