add tests for evaluate
fix doubleValue to return actual double
add evaluate method

taking double value and returning function evaluated for that value
add evaluate method

taking double value and returning term evaluated for that value
Merge pull request #30 from stepthom/evaluate-function-for-given-value

Evaluate function for given value