Contents:
Shrinks each entry of a vector by \(\kappa\).
Entries with magnitude below \(\kappa\) go to 0. The magnitude of other entries is reduced by \(\kappa\).