Implement each

Note that "ilkka" effect calculations lead to NaN for some reason. Might be a
porting error.