Model change: specify indices in numpy arrays instead of lists for speed.