Implemented the Bottom Magnet Factory

Bottom magnets are now generated through the magnet factory