Measuring the Interplanetary Medium with a Solar Sail