Stopped static arrays from becoming fat pointers, added bounds checking to static multidimensional arrays