Development of On-machine Flatness Measurement Method