Implemented inverting & added a few unit tests for absolute & invert.