Micromagnetic Modeling of All-Optical Switching