Fixed a couple mistakes in code, updated readme