fixed a lot of things

still have to fix grid centering. using __int8 screws up lookups, i was
resizing vectors wrong, and it does absolutely nothing when there aren't
enough particles