Completed triangleArea