Self running magnetic motor generator theory