Slight change in test_taylor_expansion.
Fixed many import errors
All tests pass.