Development of a Distributed Mathematical Model and Control System for Reducing Pollution Risk in Mineral Water Aquifer Systems