Changed some errors, got the read misses down.

Some things were incorrect in the cache read algorithm. I changed
them and got the context misses smaller than they should be, but
the overall misses is still a little bit higher than it should be.