README and function documentation updates