fixed a couple of array dimension product factors
(#563)
Revert "fixed a couple of array dimension product factors"

This reverts commit ea4c6119ae6117e639facba46903adecb044e213.