Fix issue #2. Dimensions off by one.