Fix broken theory covmat examples runcard in docs
Created by: voisey
Fixes a runcard that gave an error when I tried to run it earlier. This also adds line numbers to the runcard to make it easier to refer to certain bits of the code (which I also tried to do earlier)