Moved DimsSetter to Program class
Bugfixes for moving DimsSetter to Program class
Merge pull request #29 from chinasaur/flexdims/2

Flexdims/2
Merge branch 'orig'