lots of fixes to triangle functions, including argument checking and height calculation
Merge branch 'master' of github.com:bootstrapworld/wescheme-compiler2012