changed tolerance level for calibration to 45 degrees