Made an easier way to itterate through the boxes. Also removed the
linear moment from the system.
For some reason it seems to work now. I think I fixed the nabor lists
now.