Linearly Variable Optical Filter Design for Compact Spectrometer