Low-Cost Portable 1MHz Lock-In Amplifier for Fast Measurements of Pulsed Signals in Sensing Applications