improve calcArear()
add area and centriod methods and tests