Magnetization reversal in narrow strips of NiFe thin films