Statistics for Design, Implementation and Performance Analysis of a Low-cost Optical Tachometer