Should probably calculate that more betterer.
Fix flux visualization
Fix magnet drawing