Controlling Magnesium and Phosphorus to Reduce Struvite Precipitation in Plant Processes and Increase Revenue