Fix a delete that should have been a delete []
Update library version according to SWIG and fix build of IO library.
Merge pull request #7 from codecurve/minorFixesFromAndrew

Minor fixes from Andrew from 2012.