Text this: Mathematical Modeling and Optimization of Water Efficiency in Residential Buildings