Micromagnetic Simulation Of Magnetic Switching Behavior Of Permalloy Nanocaps