Atomically thin magnetic device could lead to new memory technologi...