Made changes to the code to compile on Linux.  Streamlined makefile system.