Cloud of gas used to ‘weigh’ black holes