A computational model of kidney function in a patient with diabetes