Renamed function and added its inverse.
Updated README.