Compact modeling of spintronic devices door Massimo Spina