Shmoopi Commit

Fixed index beyond bounds of array bug