Fixed some order of operations. Updated the readme.