Zaslat SMS: An invariant large margin nearest neighbour classifier