1.add size parameter, improve filter initialization logic.
2.test program improved, support mma8452 and adxl350