Update README and installation instructions to include ratio function.