Tunable proof mass based on a pendulum structure