Distance Based Leakage Alignment for Side Channel Attacks.