Optimization of Chemical Enhanced Primary Treatment Process