Mode-Locked Fiber-Laser Repetition-Frequency Stabilization using a Low-cost FPGA board