Modeling circuits with spins and magnets for all-spin logic | IEEE Conference Publication | IEEE Xplore