diffusion-notes/CAlinear/potwell: small variations