calibrate

To carefully adjust something so it works exactly right.