added check for valid boxsize
I added a simple check in space_init()
for a valid box size. I was prompted to do so because I forgot to set the boxsize in a periodic DMO run and got stuck in infinite loops where the code was trying to move the particles inside the periodic boundaries.