Water Resources Optimization using Receding Horizon Control and a Weather Generator: A Case Study of the Elqui Basin, Chile