Merge pull request #1 from kkoopa/bugfix

Fixed some issues in 0.11-series.
integer variable support

added support for integer variables
Added tests and file output.