Examples corrected. Bugs fixed.