replaced initial calibrate with ready() and improved analog timeing