Added component-wise inverse function.
Merge pull request #115 from floored/master

Added component-wise inverse function.