Define units using other units; fix typo in README

I also updated the number of lines of code mentioned in the README.