cast exponent to integer otherwise leading zeroes casue tcl to think it is an octal string
added more tcl tests
Merge pull request #80 from qcode-software/exp-bug

cast exponent to integer otherwise leading zeroes casue tcl to think it ...
Merge branch 'master' into image_dimensions