Function for calculating central moment.