Added access tests and added full bounds checking to At and Set