Biofiltration and calcium-phosphate metabolism