Fixed error in automatic bounding box algorithm.
Merge pull request #33 from forthevin/master

Fixed error in automatic bounding box algorithm.