Calculating functions of fuzzy numbers