Update to the latest revision from Andrzej Pruszynski. There are some syntax error that prevent the code from compiling, but I'll fix those in a subsequent revision. For now, I want to keep my corrections separate from his changes in the revision history.