Nanostructured Magnetic Materials and their Applications