Mini-optimization by converting element-wise __getitem__ and __setitem__
routines from ndarrays to lists.