added area of triangle calculation variable