fixed a lot of compiler warnings on macs

revert if it causes issues on linux
changed the way bounding boxes are stored in bound struct

removed bottomLeft field from bound and halved dimension field so it
works with center field. will make work with Octree a lot nicer.