small fix in area computation of triangle