A Software-defined GPS and Galileo Receiver: A Single-frequency Approach (Applied and Numerical Harmonic Analysis)