Measure of central tendency calculator