fixed a few indexings of Vec and a reference to Box
Merge pull request #174 from pfalabella/fix-build

fixed a few indexings of Vec and a reference to Box