BUG-FIX: (reported by Alberto) the thickness had the wrong shape for the surface plasmon correction code when calculated iternally by the KK method.