A Novel Finite Difference-Based Model Reduction and a Sensor Design for a Multilayer Smart Beam With Arbitrary Number of Layers