Changed mesh midpoint / area to calculation