Fixed operator precedence issue and other miscellaneous tweaking.
Updated Makefile and README.