Fix linear' and linear'', which I messed up when re-writing using a 'let ... in' construction.