Update README.md

Added Description for the parameters of the function and additional detail.