Fabrication of Self-Assembled Nanosphere Templates to Investigate the Magnetic Behavior of Permalloy Cap Layers