Algorithm for Inference with Sign and Zero Restrictions Very Preliminary: Please do not cite or distribute