Flightweight magnets for space application using carbon nanotubes