Investigation of the influence of edge structure on the micromagnetic behavior of small magnetic elements