Fixed variable names in README and code