Made the function immutable
Added tests and repr for eval for method
Reformated tests
Fixed error by adding self
Model working again