Calculating composite indicators for sustainability