A micromagnetic study of the reversal mechanism in permalloy antidot arrays