Elimination of phosphorus from municipal and industrial waste water