Giving algorithms a sense of uncertainty could make them more ethical