Define units using other units; fix typo in README

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