various fixes

made all boxes the same dimensions, fixed BOXSIZE, made total velo max
eq as in Sharri's code, fixed spiking code, reenabled yaim function