Added Inverse function.