Calculating the surface area