Design Of A Magnetic Measurement System For Small Satellites