Improved Bounds in Stochastic Matching and Optimization