Smarter Fun(identity,d)
Trying to get Lanczos working on line