Learning the Kernel Matrix with Low-Rank Multiplicative Shaping