new function

for creating and cashing inverse function