Magnetic Nanoheterostructures