Compressed sensing based tuning algorithm for the sensor of proton precession magnetometers.