Measures of central tendency calculator