Modeling of Plastic Deformation Effects in Ferromagnetic Thin Films