Operation and Valuation of Multi-Function Battery Energy Storage under Uncertainty