Magnetic non-volatile memory structures