Controlling vortex chirality and polarity by geometry in magnetic nanodots