Added Math methods: mean, median, variance and (standard) deviation