Analysis of magnetocaloric effect in parallel Ni-Mn-Ga Heusler alloy nanowires