Fixed a bug: calling setTimeDimension would always change the dimension to a time dimension.
Merge pull request #2 from rpbouman/master

Bug: dimensions always become time dimensions.