Calculating surface area and volume