Building owners are often in the dark about their carbon pollution. A new algorithm could shed light on it