Fixed travis errors

Direct comparison of expressions lacks enough precision for ==.
Comparing numerically now with evalf().