Nanostructured Magnetic Materials and Their Applications