Update store.php

Check to make sure there are actually three dimensions before outputting three dimensions, otherwise fall back to two dimensions
Merge pull request #17 from mbeall/master

Update function item_dimensions()