Fix distributed calculator example